<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>

<!DOCTYPE html>
<html lang="zh">
    <title>编辑用户</title>

    <%@include file="common/head.jsp" %>
    <style></style>
    </head>
    <body>

        <%@include file="common/nav.jsp" %>

        <div class="container-fluid">
            <div class="row">

                <%@include file="common/side-bar.jsp" %>

                <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
                    <ol class="breadcrumb">
                        <li><a href="javascript:">首页</a></li>
                        <li><a href="javascript:">数据列表</a></li>
                        <li class="active">修改</li>
                    </ol>
                    <div class="panel panel-default">
                        <div class="panel-heading">表单数据
                            <div style="float:right;cursor:pointer;" data-toggle="modal" data-target="#myModal"><i
                                    class="glyphicon glyphicon-question-sign"></i></div>
                        </div>
                        <div class="panel-body">
                            <form role="form" action="admin/do/editAdmin.html" method="post">
                                <div class="form-group">
                                    <label for="exampleInputPassword1">用户名称</label>
                                    <input type="text" class="form-control" id="exampleInputPassword1" name="userName"
                                           placeholder="${requestScope.userName}" autofocus>
                                </div>
                                <div class="form-group">
                                    <label for="exampleInputPassword2">账户密码</label>
                                    <input type="password" class="form-control" id="exampleInputPassword2"
                                           name="userPwd"
                                           placeholder="请输入新的密码">
                                </div>
                                <div class="form-group">
                                    <label for="exampleInputEmail1">邮箱地址</label>
                                    <input type="email" class="form-control" id="exampleInputEmail1" name="email"
                                           placeholder="${requestScope.email}">
                                    <p class="help-block label label-warning">请输入正确的邮箱地址, 格式为： xxx@xxx.com</p>
                                </div>
                                <!-- 上传id的隐藏域 -->
                                <input type="hidden" name="id" value="${requestScope.id}">
                                <!-- 上传loginAcct的隐藏域 -->
                                <input type="hidden" name="loginAcct" value="${requestScope.loginAcct}">
                                <button type="submit" class="btn btn-success"><i class="glyphicon glyphicon-edit"></i>
                                    修改
                                </button>
                                <button type="button" class="btn btn-danger"><i class="glyphicon glyphicon-refresh"></i>
                                    重置
                                </button>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>

    </body>
</html>
